#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QProcess>
#include <QString>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <string>
#include <QTimer>
#include <QTime>



#define TIMEOUT 1000

QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private slots:
    void addhistoryorder();

    void on_start_clicked();
    void timeoutslot();

    void onButtonCliked();

    void on_shiwubutton_clicked();

    void on_shiwustation_clicked();

    void on_querenxiadan_clicked();

    void on_canceldingdan_clicked();

    void on_timeaccelerate_clicked();

    void on_timebutton_clicked();

    //void screenprintf();
    void timeinput();
    void timeprintf(long long t);

    void on_over_clicked();

   //void on_logo_clicked();

    //void on_logo_clicked();

    void on_puasebutton_clicked();

private:
    Ui::MainWindow *ui;

    QTimer *ptimer;  //定时器对象
    long timeout = 1000;
};
#endif // MAINWINDOW_H
